package com.wanbatv.wanba.jianshencao.Fittimeutil;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.RelativeLayout;

import com.wanbatv.wanba.jianshencao.R;


/**
 * Created by 俞亚楠 on 2015/8/31.
 */
public class FittimeErjiRelayout extends RelativeLayout{
    private Context context;
    private AttributeSet attrs;
    public static FittimeErjiDemo fittime_relayout_demo1;
    public static FittimeErjiDemo fittime_relayout_demo2;
    public static FittimeErjiDemo fittime_relayout_demo3;
    public FittimeErjiRelayout(Context context) {
        super(context);
        this.context=context;
        LayoutInflater.from(context).inflate(R.layout.fittime_erji_relayout, this, true);
        fittime_relayout_demo1=(FittimeErjiDemo)findViewById(R.id.fittime_relayout_demo1);
        fittime_relayout_demo2=(FittimeErjiDemo)findViewById(R.id.fittime_relayout_demo2);
        fittime_relayout_demo3=(FittimeErjiDemo)findViewById(R.id.fittime_relayout_demo3);
    }

    public FittimeErjiRelayout(Context context, AttributeSet attrs) {
        super(context, attrs);
        this.context=context;
        this.attrs=attrs;
        LayoutInflater.from(context).inflate(R.layout.fittime_erji_relayout, this, true);
        fittime_relayout_demo1=(FittimeErjiDemo)findViewById(R.id.fittime_relayout_demo1);
        fittime_relayout_demo2=(FittimeErjiDemo)findViewById(R.id.fittime_relayout_demo2);
        fittime_relayout_demo3=(FittimeErjiDemo)findViewById(R.id.fittime_relayout_demo3);
    }

}
